package pro.cherish.knowledgeumldesignpattern.designPattern.com.cherish.builder;
//建造者模式，将组件构建和组件组装解耦
public class Client {
    public static void main(String [] args){
        AirShipDirector director=new CherishAirShipDirector(new CherishAirShipBuilder());
        AirShip airShip = director.createAirShip();
        System.out.println(airShip.getEngine());
        airShip.launch();
    }
}
